Optimal. Leaf size=180 \[ -\frac {\sqrt {c+d x}}{4 (b c-a d) (a+b x)^4}+\frac {7 d \sqrt {c+d x}}{24 (b c-a d)^2 (a+b x)^3}-\frac {35 d^2 \sqrt {c+d x}}{96 (b c-a d)^3 (a+b x)^2}+\frac {35 d^3 \sqrt {c+d x}}{64 (b c-a d)^4 (a+b x)}-\frac {35 d^4 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{64 \sqrt {b} (b c-a d)^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 180, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {44, 65, 214}
\begin {gather*} -\frac {35 d^4 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{64 \sqrt {b} (b c-a d)^{9/2}}+\frac {35 d^3 \sqrt {c+d x}}{64 (a+b x) (b c-a d)^4}-\frac {35 d^2 \sqrt {c+d x}}{96 (a+b x)^2 (b c-a d)^3}+\frac {7 d \sqrt {c+d x}}{24 (a+b x)^3 (b c-a d)^2}-\frac {\sqrt {c+d x}}{4 (a+b x)^4 (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^5 \sqrt {c+d x}} \, dx &=-\frac {\sqrt {c+d x}}{4 (b c-a d) (a+b x)^4}-\frac {(7 d) \int \frac {1}{(a+b x)^4 \sqrt {c+d x}} \, dx}{8 (b c-a d)}\\ &=-\frac {\sqrt {c+d x}}{4 (b c-a d) (a+b x)^4}+\frac {7 d \sqrt {c+d x}}{24 (b c-a d)^2 (a+b x)^3}+\frac {\left (35 d^2\right ) \int \frac {1}{(a+b x)^3 \sqrt {c+d x}} \, dx}{48 (b c-a d)^2}\\ &=-\frac {\sqrt {c+d x}}{4 (b c-a d) (a+b x)^4}+\frac {7 d \sqrt {c+d x}}{24 (b c-a d)^2 (a+b x)^3}-\frac {35 d^2 \sqrt {c+d x}}{96 (b c-a d)^3 (a+b x)^2}-\frac {\left (35 d^3\right ) \int \frac {1}{(a+b x)^2 \sqrt {c+d x}} \, dx}{64 (b c-a d)^3}\\ &=-\frac {\sqrt {c+d x}}{4 (b c-a d) (a+b x)^4}+\frac {7 d \sqrt {c+d x}}{24 (b c-a d)^2 (a+b x)^3}-\frac {35 d^2 \sqrt {c+d x}}{96 (b c-a d)^3 (a+b x)^2}+\frac {35 d^3 \sqrt {c+d x}}{64 (b c-a d)^4 (a+b x)}+\frac {\left (35 d^4\right ) \int \frac {1}{(a+b x) \sqrt {c+d x}} \, dx}{128 (b c-a d)^4}\\ &=-\frac {\sqrt {c+d x}}{4 (b c-a d) (a+b x)^4}+\frac {7 d \sqrt {c+d x}}{24 (b c-a d)^2 (a+b x)^3}-\frac {35 d^2 \sqrt {c+d x}}{96 (b c-a d)^3 (a+b x)^2}+\frac {35 d^3 \sqrt {c+d x}}{64 (b c-a d)^4 (a+b x)}+\frac {\left (35 d^3\right ) \text {Subst}\left (\int \frac {1}{a-\frac {b c}{d}+\frac {b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{64 (b c-a d)^4}\\ &=-\frac {\sqrt {c+d x}}{4 (b c-a d) (a+b x)^4}+\frac {7 d \sqrt {c+d x}}{24 (b c-a d)^2 (a+b x)^3}-\frac {35 d^2 \sqrt {c+d x}}{96 (b c-a d)^3 (a+b x)^2}+\frac {35 d^3 \sqrt {c+d x}}{64 (b c-a d)^4 (a+b x)}-\frac {35 d^4 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{64 \sqrt {b} (b c-a d)^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.57, size = 166, normalized size = 0.92 \begin {gather*} \frac {1}{192} \left (\frac {\sqrt {c+d x} \left (279 a^3 d^3+a^2 b d^2 (-326 c+511 d x)+a b^2 d \left (200 c^2-252 c d x+385 d^2 x^2\right )+b^3 \left (-48 c^3+56 c^2 d x-70 c d^2 x^2+105 d^3 x^3\right )\right )}{(b c-a d)^4 (a+b x)^4}+\frac {105 d^4 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {-b c+a d}}\right )}{\sqrt {b} (-b c+a d)^{9/2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 236, normalized size = 1.31
method | result | size |
derivativedivides | \(2 d^{4} \left (\frac {\sqrt {d x +c}}{8 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )^{4}}+\frac {\frac {7 \sqrt {d x +c}}{48 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )^{3}}+\frac {7 \left (\frac {5 \sqrt {d x +c}}{24 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )^{2}}+\frac {5 \left (\frac {3 \sqrt {d x +c}}{8 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )}+\frac {3 \arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{8 \left (a d -b c \right ) \sqrt {\left (a d -b c \right ) b}}\right )}{6 \left (a d -b c \right )}\right )}{8 \left (a d -b c \right )}}{a d -b c}\right )\) | \(236\) |
default | \(2 d^{4} \left (\frac {\sqrt {d x +c}}{8 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )^{4}}+\frac {\frac {7 \sqrt {d x +c}}{48 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )^{3}}+\frac {7 \left (\frac {5 \sqrt {d x +c}}{24 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )^{2}}+\frac {5 \left (\frac {3 \sqrt {d x +c}}{8 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )}+\frac {3 \arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{8 \left (a d -b c \right ) \sqrt {\left (a d -b c \right ) b}}\right )}{6 \left (a d -b c \right )}\right )}{8 \left (a d -b c \right )}}{a d -b c}\right )\) | \(236\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 656 vs.
\(2 (152) = 304\).
time = 0.77, size = 1325, normalized size = 7.36 \begin {gather*} \left [\frac {105 \, {\left (b^{4} d^{4} x^{4} + 4 \, a b^{3} d^{4} x^{3} + 6 \, a^{2} b^{2} d^{4} x^{2} + 4 \, a^{3} b d^{4} x + a^{4} d^{4}\right )} \sqrt {b^{2} c - a b d} \log \left (\frac {b d x + 2 \, b c - a d - 2 \, \sqrt {b^{2} c - a b d} \sqrt {d x + c}}{b x + a}\right ) - 2 \, {\left (48 \, b^{5} c^{4} - 248 \, a b^{4} c^{3} d + 526 \, a^{2} b^{3} c^{2} d^{2} - 605 \, a^{3} b^{2} c d^{3} + 279 \, a^{4} b d^{4} - 105 \, {\left (b^{5} c d^{3} - a b^{4} d^{4}\right )} x^{3} + 35 \, {\left (2 \, b^{5} c^{2} d^{2} - 13 \, a b^{4} c d^{3} + 11 \, a^{2} b^{3} d^{4}\right )} x^{2} - 7 \, {\left (8 \, b^{5} c^{3} d - 44 \, a b^{4} c^{2} d^{2} + 109 \, a^{2} b^{3} c d^{3} - 73 \, a^{3} b^{2} d^{4}\right )} x\right )} \sqrt {d x + c}}{384 \, {\left (a^{4} b^{6} c^{5} - 5 \, a^{5} b^{5} c^{4} d + 10 \, a^{6} b^{4} c^{3} d^{2} - 10 \, a^{7} b^{3} c^{2} d^{3} + 5 \, a^{8} b^{2} c d^{4} - a^{9} b d^{5} + {\left (b^{10} c^{5} - 5 \, a b^{9} c^{4} d + 10 \, a^{2} b^{8} c^{3} d^{2} - 10 \, a^{3} b^{7} c^{2} d^{3} + 5 \, a^{4} b^{6} c d^{4} - a^{5} b^{5} d^{5}\right )} x^{4} + 4 \, {\left (a b^{9} c^{5} - 5 \, a^{2} b^{8} c^{4} d + 10 \, a^{3} b^{7} c^{3} d^{2} - 10 \, a^{4} b^{6} c^{2} d^{3} + 5 \, a^{5} b^{5} c d^{4} - a^{6} b^{4} d^{5}\right )} x^{3} + 6 \, {\left (a^{2} b^{8} c^{5} - 5 \, a^{3} b^{7} c^{4} d + 10 \, a^{4} b^{6} c^{3} d^{2} - 10 \, a^{5} b^{5} c^{2} d^{3} + 5 \, a^{6} b^{4} c d^{4} - a^{7} b^{3} d^{5}\right )} x^{2} + 4 \, {\left (a^{3} b^{7} c^{5} - 5 \, a^{4} b^{6} c^{4} d + 10 \, a^{5} b^{5} c^{3} d^{2} - 10 \, a^{6} b^{4} c^{2} d^{3} + 5 \, a^{7} b^{3} c d^{4} - a^{8} b^{2} d^{5}\right )} x\right )}}, \frac {105 \, {\left (b^{4} d^{4} x^{4} + 4 \, a b^{3} d^{4} x^{3} + 6 \, a^{2} b^{2} d^{4} x^{2} + 4 \, a^{3} b d^{4} x + a^{4} d^{4}\right )} \sqrt {-b^{2} c + a b d} \arctan \left (\frac {\sqrt {-b^{2} c + a b d} \sqrt {d x + c}}{b d x + b c}\right ) - {\left (48 \, b^{5} c^{4} - 248 \, a b^{4} c^{3} d + 526 \, a^{2} b^{3} c^{2} d^{2} - 605 \, a^{3} b^{2} c d^{3} + 279 \, a^{4} b d^{4} - 105 \, {\left (b^{5} c d^{3} - a b^{4} d^{4}\right )} x^{3} + 35 \, {\left (2 \, b^{5} c^{2} d^{2} - 13 \, a b^{4} c d^{3} + 11 \, a^{2} b^{3} d^{4}\right )} x^{2} - 7 \, {\left (8 \, b^{5} c^{3} d - 44 \, a b^{4} c^{2} d^{2} + 109 \, a^{2} b^{3} c d^{3} - 73 \, a^{3} b^{2} d^{4}\right )} x\right )} \sqrt {d x + c}}{192 \, {\left (a^{4} b^{6} c^{5} - 5 \, a^{5} b^{5} c^{4} d + 10 \, a^{6} b^{4} c^{3} d^{2} - 10 \, a^{7} b^{3} c^{2} d^{3} + 5 \, a^{8} b^{2} c d^{4} - a^{9} b d^{5} + {\left (b^{10} c^{5} - 5 \, a b^{9} c^{4} d + 10 \, a^{2} b^{8} c^{3} d^{2} - 10 \, a^{3} b^{7} c^{2} d^{3} + 5 \, a^{4} b^{6} c d^{4} - a^{5} b^{5} d^{5}\right )} x^{4} + 4 \, {\left (a b^{9} c^{5} - 5 \, a^{2} b^{8} c^{4} d + 10 \, a^{3} b^{7} c^{3} d^{2} - 10 \, a^{4} b^{6} c^{2} d^{3} + 5 \, a^{5} b^{5} c d^{4} - a^{6} b^{4} d^{5}\right )} x^{3} + 6 \, {\left (a^{2} b^{8} c^{5} - 5 \, a^{3} b^{7} c^{4} d + 10 \, a^{4} b^{6} c^{3} d^{2} - 10 \, a^{5} b^{5} c^{2} d^{3} + 5 \, a^{6} b^{4} c d^{4} - a^{7} b^{3} d^{5}\right )} x^{2} + 4 \, {\left (a^{3} b^{7} c^{5} - 5 \, a^{4} b^{6} c^{4} d + 10 \, a^{5} b^{5} c^{3} d^{2} - 10 \, a^{6} b^{4} c^{2} d^{3} + 5 \, a^{7} b^{3} c d^{4} - a^{8} b^{2} d^{5}\right )} x\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 331 vs.
\(2 (152) = 304\).
time = 2.25, size = 331, normalized size = 1.84 \begin {gather*} \frac {35 \, d^{4} \arctan \left (\frac {\sqrt {d x + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{64 \, {\left (b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}\right )} \sqrt {-b^{2} c + a b d}} + \frac {105 \, {\left (d x + c\right )}^{\frac {7}{2}} b^{3} d^{4} - 385 \, {\left (d x + c\right )}^{\frac {5}{2}} b^{3} c d^{4} + 511 \, {\left (d x + c\right )}^{\frac {3}{2}} b^{3} c^{2} d^{4} - 279 \, \sqrt {d x + c} b^{3} c^{3} d^{4} + 385 \, {\left (d x + c\right )}^{\frac {5}{2}} a b^{2} d^{5} - 1022 \, {\left (d x + c\right )}^{\frac {3}{2}} a b^{2} c d^{5} + 837 \, \sqrt {d x + c} a b^{2} c^{2} d^{5} + 511 \, {\left (d x + c\right )}^{\frac {3}{2}} a^{2} b d^{6} - 837 \, \sqrt {d x + c} a^{2} b c d^{6} + 279 \, \sqrt {d x + c} a^{3} d^{7}}{192 \, {\left (b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}\right )} {\left ({\left (d x + c\right )} b - b c + a d\right )}^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.46, size = 307, normalized size = 1.71 \begin {gather*} \frac {\frac {93\,d^4\,\sqrt {c+d\,x}}{64\,\left (a\,d-b\,c\right )}+\frac {385\,b^2\,d^4\,{\left (c+d\,x\right )}^{5/2}}{192\,{\left (a\,d-b\,c\right )}^3}+\frac {35\,b^3\,d^4\,{\left (c+d\,x\right )}^{7/2}}{64\,{\left (a\,d-b\,c\right )}^4}+\frac {511\,b\,d^4\,{\left (c+d\,x\right )}^{3/2}}{192\,{\left (a\,d-b\,c\right )}^2}}{b^4\,{\left (c+d\,x\right )}^4-\left (4\,b^4\,c-4\,a\,b^3\,d\right )\,{\left (c+d\,x\right )}^3-\left (c+d\,x\right )\,\left (-4\,a^3\,b\,d^3+12\,a^2\,b^2\,c\,d^2-12\,a\,b^3\,c^2\,d+4\,b^4\,c^3\right )+a^4\,d^4+b^4\,c^4+{\left (c+d\,x\right )}^2\,\left (6\,a^2\,b^2\,d^2-12\,a\,b^3\,c\,d+6\,b^4\,c^2\right )+6\,a^2\,b^2\,c^2\,d^2-4\,a\,b^3\,c^3\,d-4\,a^3\,b\,c\,d^3}+\frac {35\,d^4\,\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {c+d\,x}}{\sqrt {a\,d-b\,c}}\right )}{64\,\sqrt {b}\,{\left (a\,d-b\,c\right )}^{9/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________